
<div id="main-content" class="prepend-1 span-19 last">
	<h3>Ganti Foto</h3>
	<div class="span-6">
	<h4>Foto Anda Saat Ini</h4>
<?php 
	$img = array(
		'width' => 200,
		'height' => 200,
		'src' => site_url('mahasiswa/profile/index/userphoto'),
		'alt' => 'User Photo'
	);
	echo img($img);
?>
	</div>
	<div class="span-17">
		<h4>Upload Foto Baru</h4>
			
		
<?php echo $result; ?>
<?php echo form_open_multipart('mahasiswa/profile/index/changephoto'); ?>
		<br /><label>Pilih file foto <?php echo nbs(3); ?></label>
		<input type="file" name="photo" /><br /><br />
		<p style="color:#7a7a77">
			Foto harus dalam format <strong>JPG/JPEG</strong>.</br>
			Ukuran foto <strong>maksimal</strong> 400px x 400px.</br>
			<strong>Lebar</strong> dan <strong>panjang</strong> foto harus sama.</br>
			Ukuran file <strong>maksimal</strong> 200KB.
		</p></br>
		
		<input type="submit" name="upload" value="upload" />
<?php echo form_close(); ?>
	</div>
	<div class="clear"><?php echo nbs(); ?></div>
</div>
